package com.aaron.builder.director;

import com.aaron.builder.builder.IPhoneBuilder;
import com.aaron.builder.product.HuaweiP9;
import com.aaron.builder.product.IProduct;

public class HuaweiP9Director {
	
	public IProduct direct(IPhoneBuilder builder ){
		builder.buildCpu();
		builder.buildMainboard();
		builder.buildScreen();
		builder.buildBattery();
		return builder.getProduct();
	}
}
